ci: use GH_TOKEN for release-chain workflows#51
Merged
Conversation
Switch the release-chain workflows from SUBTREE_PUSH_PAT to the dedicated GH_TOKEN PAT now configured on this repo. Follows up the merged #49, which landed before this rewire.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use
GH_TOKENfor the release-chain workflowsFollow-up to #49 (which merged before this rewire landed). Switches the
release-chain workflows on this repo from
SUBTREE_PUSH_PATto the dedicatedGH_TOKENPAT now configured as a repo secret.What changes
bump-openrouter-sdk.yaml— checkouttoken:, the bump-stepGH_TOKEN,the open-PR
GH_TOKEN, and the gate-stepGH_TOKENall now readsecrets.GH_TOKEN. (Still a PAT, not the ActionsGITHUB_TOKEN, so theopened bump PR triggers Perry + CI.)
publish.yaml— theopenrouter-agent-publisheddispatch toopenrouter-webnow usessecrets.GH_TOKEN.Secret requirement
GH_TOKEN— set on this repo. For thepublish.yamldispatch to beaccepted, this PAT must have
contents: writeonOpenRouterTeam/openrouter-web(the dispatch target), pluscontents+pull_requests: writehere.Verified with
actionlint(clean); noSUBTREE_PUSH_PATreferences remain.[sdk-bot]